//
// Created by Castle on 2025/10/27.
//

#include <iostream>
using namespace std;

int main() {
    // Swapping data
    int a,b;
    cin >> a >> b;
    int temp;
    temp = b;
    b = a;
    a = temp;
    cout << a << " " << b << endl;

    // 加减法
    a = a + b;
    b = a - b;
    a = a - b;


    return 0;
}